from enum import unique, Enum


@unique
class NET_TYPE(Enum):
    TCP_CLIENT = 0
    TCP_SERVER = 1
    UDP = 2
    COM = 3


@unique
class SEND_TYPE(Enum):
    HEX_SEND = 0
    CHAR_SEND = 1
    STRING_SEND = 2


@unique
class REV_TYPE(Enum):
    IO_DATA = 0
    ADC_DATA = 1
